import {Get,Post,Put,Patch,Delete} from './request.js';
 
export default {
    getListData: (params) => {
        return Get('../../static/data.json',params);
    },
    postListData: (params) => {
        return Post('../../static/data.json',params);
    },
    putListData: (params) => {
        return Put('../../static/data.json',params);
    },
    patchListData: (params) => {
        return Patch('../../static/data.json',params);
    },
    deleteListData: (params) => {
        return Delete('../../static/data.json',params);
    },
    /*
    * 实际接口
    * */
    getAdminList: (params) => {
        return Get('/B_admin/adminmannager/adminalllist',params);
    },
    /**
     * 管理员登陆
     */
    adminlogin: (params) => {
        return Post('/B_admin/login',params);
    }
}
 